package com.gome.wechat.program.dao;

import com.gome.wechat.program.entity.UserHobbyTag;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by liwei113 on 2017/11/1 0001.
 */
public interface UserHobbyTagRepo extends JpaRepository<UserHobbyTag, Long> {

    void deleteByUserId(Long userId);

    List<UserHobbyTag>  findByUserId(Long userId);
}
